package com.entity;

import com.baseEnum.CourseType;

/**
 * @Author ri.yang
 * @Since 2016/1/6.
 */
public class CourseQuery {
    private Integer id;
    //课程编号
    private Integer courseNo;
    //课程名
    private String courseName;
    //课程学分
    private Integer credit;
    //课时
    private Integer courseNum;
    //课程类型
    private CourseType courseType;
    //最大上课人数
    private Integer maxCapacity;
    //老师id
    private Integer teacherId;
    //上课地点
    private String classroomNo;
    public CourseQuery(){

    }
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCourseNo() {
        return courseNo;
    }

    public void setCourseNo(Integer courseNo) {
        this.courseNo = courseNo;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Integer getCredit() {
        return credit;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    public Integer getCourseNum() {
        return courseNum;
    }

    public void setCourseNum(Integer courseNum) {
        this.courseNum = courseNum;
    }

    public CourseType getCourseType() {
        return courseType;
    }

    public void setCourseType(CourseType courseType) {
        this.courseType = courseType;
    }

    public Integer getMaxCapacity() {
        return maxCapacity;
    }

    public void setMaxCapacity(Integer maxCapacity) {
        this.maxCapacity = maxCapacity;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public String getClassroomNo() {
        return classroomNo;
    }

    public void setClassroomNo(String classroomNo) {
        this.classroomNo = classroomNo;
    }

    @Override
    public String toString() {
        return "CourseQuery{" +
                "id=" + id +
                ", courseNo=" + courseNo +
                ", courseName='" + courseName + '\'' +
                ", credit=" + credit +
                ", courseNum=" + courseNum +
                ", courseType=" + courseType +
                ", maxCapacity=" + maxCapacity +
                ", teacherId=" + teacherId +
                ", classroomNo='" + classroomNo + '\'' +
                '}';
    }
}
